package com.henry.feign.service;

import com.henry.vo.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @program: spring-cloud-alibaba-demo
 * @description:
 * @author: Henry.zhang
 * @create: 2022-09-01 11:21
 */
@Component
@FeignClient(
        value = "user-service",
        path = "user"
)
public interface FeignUserService {
    @RequestMapping("kjye")
    public R update(@RequestParam("uid") Integer uid,
                    @RequestParam("money") Double money);
}
